$(function() 
{
    
    $('.content a.photo').lightBox({
        overlayBgColor: '#FFF', 
        overlayOpacity: 0.6,
        containerResizeSpeed: 350,
        txtImage: 'Imagem',
        txtOf: 'de'
    });
    if (document.location.hash) {
        var id = document.location.hash.substr(1);
        
        $('.content a.photo').each(function()
        {
            if ($(this).attr('id') == id) {
                $(this).click();
            }
        });
    }
    
});